package com.hospital.hospitalrelay.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.hospitalrelay.entity.Advice;
import com.hospital.hospitalrelay.entity.Area;
import com.hospital.hospitalrelay.mapper.AdviceMapper;
import com.hospital.hospitalrelay.mapper.AreaMapper;
import com.hospital.hospitalrelay.service.IAdviceService;
import com.hospital.hospitalrelay.service.IAreaService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 地区表 服务实现类
 * </p>
 *
 * @author 闫腾腾
 * @since 2020-10-21
 */
@Service
public class AreaServiceImpl extends ServiceImpl<AreaMapper, Area> implements IAreaService {

    @Override
    public List<Area> arealist() {
        return baseMapper.selectList();
    }
}
